from sklearn.linear_model import LinearRegression
import matplotlib.pyplot as plt

X = [[6],[8],[10],[14], [18]]
Y = [[7],[9],[13],[17.5], [18]]
model = LinearRegression()
model.fit(X,Y)
print(model.predict([[12],[0]]))
